<MDXHeader title="Badge" description="Displays a badge or a component that looks like a badge." />

<ComponentPreview name="badge-demo" />

## Installation

<Tabs defaultValue="cli">

<TabsList>
  <TabsTrigger value="cli">CLI</TabsTrigger>
  <TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>

<TabsContent value="cli">

```bash
npx solidui-cli@latest add badge
```

</TabsContent>

<TabsContent value="manual">

<Step>Copy and paste the following code into your project: </Step>

<ComponentSource name="badge" />

</TabsContent>

</Tabs>

## Usage

```tsx
import { Badge } from "~/components/ui/badge"
```

```tsx
<Badge variant="outline">Badge</Badge>
```
